package at.main.android;
/* 
 *  Convert J2ME to Android v.001
 *  Author: Van Tan Tai 
 *  Mail  : itvan@live.com
 *  Date  : 11.11.2010
 * 
 */
public class MIDlet {
	public String getAppProperty(String param){
		//TODO: code here
		if(param.equals("MIDlet-Version")){
			return Static.getSoftwareVersion();
		}
		return "";
	}
	public boolean platformRequest(String URL) {
		//code here
		return false;
	}
	public int checkPermission(String permission) {
		return -1;
	}
	
	public void notifyDestroyed() { Static.App.finish();}
	public void notifyPaused() {}
	public void resumeRequest() {}
	
	protected void pauseApp() {}
	protected void startApp() throws MIDletStateChangeException{}
	protected void destroyApp(boolean unconditional) throws MIDletStateChangeException {}
	
}
